home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Controls
/
Visual Basic Controls.iso
/
vbcontrol
/
copycomb
/
wrapper.ctl
< prev
next >
Wrap
Text File
|
1998-10-24
|
4KB
|
118 lines
VERSION 5.00
Begin VB.UserControl Wrapper
BackColor = &H00C0C0C0&
ClientHeight = 3270
ClientLeft = 0
ClientTop = 0
ClientWidth = 5040
ScaleHeight = 3270
ScaleWidth = 5040
Begin VB.Frame Frame1
Caption = "Frame1"
Height = 2895
Left = 120
TabIndex = 0
Top = 120
Width = 4815
Begin VB.PictureBox Picture1
AutoRedraw = -1 'True
AutoSize = -1 'True
Height = 975
Left = 240
Picture = "wrapper.ctx":0000
ScaleHeight = 915
ScaleWidth = 915
TabIndex = 4
Top = 720
Width = 975
End
Begin VB.CommandButton Command1
Caption = "OK"
Height = 375
Left = 3120
TabIndex = 2
Top = 2280
Width = 1455
End
Begin VB.TextBox Text1
Height = 975
Left = 1440
MultiLine = -1 'True
TabIndex = 1
Text = "wrapper.ctx":0822
Top = 720
Width = 3135
End
Begin VB.Label Label3
Caption = "TextBox"
Height = 255
Left = 1440
TabIndex = 6
Top = 480
Width = 975
End
Begin VB.Label Label2
Caption = "PictureBox"
Height = 255
Left = 240
TabIndex = 5
Top = 480
Width = 975
End
Begin VB.Shape Shape1
FillColor = &H00FFFF80&
FillStyle = 0 'Solid
Height = 495
Left = 1920
Shape = 4 'Rounded Rectangle
Top = 1920
Width = 615
End
Begin VB.Shape Shape2
FillColor = &H00FF00FF&
FillStyle = 0 'Solid
Height = 375
Left = 240
Shape = 2 'Oval
Top = 2280
Width = 735
End
Begin VB.Shape Shape3
FillColor = &H0080FFFF&
FillStyle = 0 'Solid
Height = 375
Left = 1320
Shape = 3 'Circle
Top = 2280
Width = 375
End
Begin VB.Label Label1
Caption = "Shapes"
Height = 255
Left = 720
TabIndex = 3
Top = 1920
Width = 735
End
End
End
Attribute VB_Name = "Wrapper"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Private Sub Command1_Click()
Text1.Text = "Eckler CopyCom Wrapper Demo" + Chr(&HD) + Chr(&HA) _
+ "Copyright (c) 1998 Eckler Software" + Chr(&HD) + Chr(&HA) _
+ Chr(&HD) + Chr(&HA) _
+ "Author: David Suffield" + Chr(&HD) + Chr(&HA)
'Be sure to use persistent graphics for graphic methods.
Picture1.AutoRedraw = True
Picture1.Print "hello"
Picture1.Line (0, 0)-(Picture1.Width, Picture1.Height)
End Sub